Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-19 Thread Joseph Canedo
x doesn't look ahead, only back you probably need to look at the delta of pagegoal - pagetotal and evide that by the line height .. probably good enough for text without whitespace even then, hyphenation penalties can make a page one or more lines shorter so you also need to disable some of that &g

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-19 Thread Joseph Canedo
to look at the delta of pagegoal - pagetotal and evide that by the line height .. probably good enough for text without whitespace even then, hyphenation penalties can make a page one or more lines shorter so you also need to disable some of that > vspacing    > page 4, prevdepth 2.

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-19 Thread Hans Hagen
enough for text without whitespace even then, hyphenation penalties can make a page one or more lines shorter so you also need to disable some of that vspacing    > page 4, prevdepth 2.56577pt => 2.56577pt, prevgraf 0 => 4 vspacing    > list glue:topskip hlist:line penalty

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-19 Thread Joseph Canedo
which was 0 is set to 4 (see this from traces in output log). vspacing> page 4, prevdepth 2.56577pt => 2.56577pt, prevgraf 0 => 4 vspacing> list glue:topskip hlist:line penalty:userpenalty penalty:userpenalty glue:baselineskip hlist:line penalty:linebreakpenalty glue:

Re: [NTG-context] unwanted head behavior

2016-04-09 Thread Zhichu Chen
oat \ifconditional\c_strc_sectioning_auto_break \vspacing[\v!samepage-\currentheadlevel]% \fi \headparameter\c!before\relax \indent \else \page_otr_command_flush_side_floats \ifconditional\c_strc_sectioning_auto_break \vspac

Re: [NTG-context] unwanted head behavior

2016-04-07 Thread Hans Hagen
ctioning_auto_break \vspacing[\v!samepage-\currentheadlevel]% \fi \headparameter\c!before\relax \indent \else \page_otr_command_flush_side_floats \ifconditional\c_strc_sectioning_auto_break \vspacing[\v!samepage-\currentheadl

Re: [NTG-context] someone who can fix can fix

2015-01-13 Thread Hans Hagen
) \spac_vspacing_yes_indeed ...\ifmmode \else \par \ctxcommand {vspacing(#1... l.75 \blank[2*big] empty file I'm broken. Please show this to someone who can fix can fix I don’t know where to start looking, I guess it’s something with the letter

[NTG-context] someone who can fix can fix

2015-01-12 Thread Henning Hraban Ramm
\ctxcommand {vspacing(#1... l.75 \blank[2*big] empty file I'm broken. Please show this to someone who can fix can fix I don’t know where to start looking, I guess it’s something with the letter module. The same files used to work

[NTG-context] Line number in tex error

2014-04-24 Thread Mikael P. Sundqvist
/err.tex: ! Missing number, treated as zero to be read again f argument f oo \addaskedblankskip ..._vspacing_temp #1\dimexpr #2 \relax l.8 } \ctxcommand #12-\directlua {commands.#1} \spac_vspacing_yes_indeed ...mand {vspacing(#1

Re: [NTG-context] upload

2012-07-04 Thread Hongwen Qiu
... 1 \starttext 2 \startformula 3 a 4 \stopformula 5 \stoptext 6 argument vspacing(\p_spaceafter ) \ctxcommand #1-\directlua \zerocount {commands.#1 } \spac_vspacing_yes_indeed ...mand {vspacing(#1

[NTG-context] Typo in strc-sec.mkiv

2011-06-13 Thread Wolfgang Schuster
Hi Hans, \def\dopreventbreakafterheadauto % used after \c!before - {\ifconditonal\autoheadbreak + {\ifconditional\autoheadbreak \vspacing[\v!samepage-\currentheadlevel]% \fi} \def\dopreventbreakafterheadspec#1% see enumerations etc - {\ifconditonal\autoheadbreak + {\ifconditional

Re: [NTG-context] strange page break

2010-05-06 Thread Wolfgang Schuster
is this % \chardef\somestructureheadbreakmethod\plusone % 0=nothing, 1=weighted, 2=strict, 3=vspacing \chardef\somestructureheadbreakmethod\plusthree but that's not what i consider to be available for the user. Wolfgang

Re: [NTG-context] strange page break

2010-05-06 Thread Otared Kavian
is this % \chardef\somestructureheadbreakmethod\plusone % 0=nothing, 1=weighted, 2=strict, 3=vspacing \chardef\somestructureheadbreakmethod\plusthree but that's not what i consider to be available for the user. … well, at least not available for users such as me… But it is available

Re: [NTG-context] vspacing[disable]

2009-10-13 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: Hi! I try to glue title to the next paragraph, using the brand new vspacing command. But whatever I do, I get biggg space. \starttext \title{Lab work 2} \vspacing[disable] {\bfa The title of the lab} \stoptext no need for \vspacing[disable] here (the next

[NTG-context] vspacing[disable]

2009-10-12 Thread Vyatcheslav Yatskovsky
Hi! I try to glue title to the next paragraph, using the brand new vspacing command. But whatever I do, I get biggg space. \starttext \title{Lab work 2} \vspacing[disable] {\bfa The title of the lab} \stoptext Regards, Vyatcheslav

Re: [NTG-context] \blank

2009-09-20 Thread Hans Hagen
the vspacing once we have a few more things in place in luatex Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53

[NTG-context] \startchapter

2009-09-14 Thread Bernd Militzer
},%    list ={Geburten 1606},%    bookmark ={Geb-1606},%    reference={Geb:1606}] % \input tufte \stopsection % \page % this works! ref Geburten: \about[Geburten] \vspacing[12pt] % this does not work! ref 1606: \about[Geb:1606] \stopchapter % \stoptext % --- snip

[NTG-context] index and LuaTeX

2009-09-11 Thread Bernd Militzer
-- snip \setupcolors[state=start] \setupinteraction[state=start] % \definestartstop[Vorgang] [before={\bgroup \startlines}, after={\stoplines \egroup \blank}] % Mark II and Mark IV % %\definestartstop[Vorgang] [before={\bgroup \startlines}, after={\stoplines \egroup \vspacing[medium,strong]

[NTG-context] Removing inbreakable whitespace at pagebreaks

2008-05-14 Thread Wolfgang Schuster
in the sources and saw \vspacing in core-spa.mkiv, I dont't know what this should do and was unable to get it working but I'm interested to know how it did work and what it should do. Greetings Wolfgang ___ If your